
// 关于商品的一些操作
const userreducer = (state = [], action) => {
    if (action.type == 'GET_USER') {
        return action.value
    }else if(action.type=='ADD_USER'){
        return [...state,action.value]
    }
    return state;
}

export default userreducer